package com.app.micaihu.bean.topic;

import android.text.TextUtils;

import com.app.micaihu.bean.comment.PariseBean;
import com.app.micaihu.bean.comment.BaseComment;
import com.app.micaihu.bean.comment.ChildComment;
import com.app.micaihu.bean.speak.ICommentEntity;
import com.app.micaihu.configure.TypeConstant;
import com.app.micaihu.bean.speak.ILaud;

import java.util.List;

/**
 * Created by Guo on 2016/12/22.
 */

public class PostCmtSecondaryHeaderBean extends BaseComment implements ICommentEntity,ILaud {


    private String headPic;

    private String isFans;

    private String articleType;


    private String parentCmtId;

    private List<PariseBean> praiseList;


    private String praiseNum;


    private String publishTime;


    private String rankIcon;

    private String rankName;

    private String repluNum;


    private String thumb;


    private String title;


    private String honourPic;//军团勋章
    private String armyGroupInfo;//所属军团 或 军团职位

    public String getHonourPic() {
        return honourPic;
    }

    public void setHonourPic(String honourPic) {
        this.honourPic = honourPic;
    }

    public String getArmyGroupInfo() {
        return armyGroupInfo;
    }

    public void setArmyGroupInfo(String armyGroupInfo) {
        this.armyGroupInfo = armyGroupInfo;
    }


    public List<PariseBean> getPraiseList() {
        return praiseList;
    }

    public void setPraiseList(List<PariseBean> praiseList) {
        this.praiseList = praiseList;
    }

    public String getArticleType() {
        return articleType;
    }

    public void setArticleType(String articleType) {
        this.articleType = articleType;
    }


    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public boolean getNewsOrTopic() {
        return false;
    }

    @Override
    public String getIContent() {
        return getContent();
    }

    @Override
    public String getIFile() {
        return "";
    }

    @Override
    public String getINickName() {
        return getNickName();
    }

    @Override
    public String getIHeadPic() {
        return headPic;
    }

    @Override
    public String getIRankName() {
        return rankName;
    }

    @Override
    public String getIRankIcon() {
        return rankIcon;
    }

    @Override
    public String getIPublishTime() {
        return publishTime;
    }

    @Override
    public String getICommentTitle() {
        return title;
    }

    @Override
    public boolean getIIsFans() {
        return TextUtils.equals("1",isFans);
    }

    @Override
    public String getIChildNum() {
        return repluNum;
    }

    @Override
    public List<ChildComment> getIChildList() {
        return null;
    }

    @Override
    public void setIChildList(List<ChildComment> childList) {

    }

    @Override
    public String getIHonourPic() {
        return getHonourPic();
    }

    @Override
    public String getIArmyGroupInfo() {
        return getArmyGroupInfo();
    }

    @Override
    public String getILaudOperateType() {
        return TypeConstant.ZAN_NORMAL;
    }

    @Override
    public String getILaudNum() {
        return praiseNum;
    }

    @Override
    public String getILaudType() {
        return TypeConstant.COMMENT_ONE;
    }

    @Override
    public void setILaudNum(String iLaudNum) {
        this.praiseNum = iLaudNum;
    }

    @Override
    public String getNewsId() {
        return getTopicId();
    }

    @Override
    public String getICommentId() {
        return getId();
    }

    @Override
    public String getIParentCmtId() {
        return parentCmtId;
    }

    @Override
    public String getIType() {
        return getType();
    }

    @Override
    public String getIToUid() {
        return getUid();
    }

    @Override
    public void setIToUid(String toUid) {

    }
}
